package com.shanwen.shopping.imageload;

import android.content.Context;
import android.widget.ImageView;

import com.classic.adapter.interfaces.ImageLoad;
import com.classic.core.utils.DataUtil;
import com.shanwen.shopping.utils.PicassoUtil;

/**
 * Created by classic on 16/4/4.
 */
public class ImageLoadByPicasso implements ImageLoad {
    @Override
    public void load(Context context, ImageView imageView, String imageUrl) {
        if(null==context || null==imageView || DataUtil.isEmpty(imageUrl) ) return;
        PicassoUtil.load(context,imageUrl,imageView);
    }
}
